package com.fruit.pojo.account.voucher;

import java.io.Serializable;
import java.math.BigDecimal;
/**
 * 活动兑换券
 * 
 * @author Administrator
 * @version 2018.05.10 10:16
 *
 */
public class ActivityVoucher implements Serializable {
    private Long id;

    private Integer userId;

    private BigDecimal money;

    private String type;

    private String state;

    private String descInfo;

    private String remark;

    private String endUseTime;

    private String createTime;

    private String updateTime;

    private Long orderId;

    private String resInfo1;

    private String resInfo2;

    private String resInfo3;

    private String resInfo4;
    
    private String imgUrl;
    
    private String name;

    private static final long serialVersionUID = 1L;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public BigDecimal getMoney() {
        return money;
    }

    public void setMoney(BigDecimal money) {
        this.money = money;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type == null ? null : type.trim();
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state == null ? null : state.trim();
    }

    public String getDescInfo() {
        return descInfo;
    }

    public void setDescInfo(String descInfo) {
        this.descInfo = descInfo == null ? null : descInfo.trim();
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark == null ? null : remark.trim();
    }

    public String getEndUseTime() {
        return endUseTime;
    }

    public void setEndUseTime(String endUseTime) {
        this.endUseTime = endUseTime == null ? null : endUseTime.trim();
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime == null ? null : createTime.trim();
    }

    public String getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(String updateTime) {
        this.updateTime = updateTime == null ? null : updateTime.trim();
    }

    public Long getOrderId() {
        return orderId;
    }

    public void setOrderId(Long orderId) {
        this.orderId = orderId;
    }

    public String getResInfo1() {
        return resInfo1;
    }

    public void setResInfo1(String resInfo1) {
        this.resInfo1 = resInfo1 == null ? null : resInfo1.trim();
    }

    public String getResInfo2() {
        return resInfo2;
    }

    public void setResInfo2(String resInfo2) {
        this.resInfo2 = resInfo2 == null ? null : resInfo2.trim();
    }

    public String getResInfo3() {
        return resInfo3;
    }

    public void setResInfo3(String resInfo3) {
        this.resInfo3 = resInfo3 == null ? null : resInfo3.trim();
    }

    public String getResInfo4() {
        return resInfo4;
    }

    public void setResInfo4(String resInfo4) {
        this.resInfo4 = resInfo4 == null ? null : resInfo4.trim();
    }
    
    public String getImgUrl() {
		return imgUrl;
	}

	public void setImgUrl(String imgUrl) {
		this.imgUrl = imgUrl;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	@Override
    public String toString() {
    	StringBuffer str=new StringBuffer();
    	str.append("[");
    	str.append("id="+id);
    	str.append(",userId=" + userId);
    	str.append(",money=" + money);
    	str.append(",type=" + type);
    	str.append(",state=" + state);
    	str.append(",remark=" + remark);
    	str.append(",createTime=" + createTime);
    	str.append(",updateTime=" + updateTime);
    	str.append(",descInfo=" + descInfo);
    	str.append(",orderId=" + orderId);
    	str.append(",endUseTime=" + endUseTime);
    	str.append(",resInfo1=" + resInfo1);
    	str.append(",resInfo2=" + resInfo2);
    	str.append(",resInfo3=" + resInfo3);
    	str.append(",resInfo4=" + resInfo4);
    	str.append(",imgUrl=" + imgUrl);
    	str.append(",name=" + name);
    	str.append("]");    	
    	return str.toString();
    }
}